//
//  AppDelegateRequest.m
//  SleepingElf
//
//  Created by karong on 2023/10/8.
//

#import "AppDelegateRequest.h"

@implementation AppDelegateRequest
+ (void)updateServerTimeWithSuccess:(EmptyBlock)success failed:(Failure)failed {
    NSString * url = API_SERVER_TIMESTAMP;
    [self postWithURLString:url parameters:@{} success:^(NSDictionary * _Nonnull responseDict) {
        success();
    } failure:failed];
}
@end
